<?php
/**
 * Created by PhpStorm
 * User: ZhouFurong
 * Date: 2020/12/3
 * Time: 16:40
 */

namespace App\AbstractFactory;

class RedisCache implements CacheAbstractFactoryInterFace
{
    public function put($key, $str)
    {
        return 'redis cache write string ' . $str;
    }

    public function get($key)
    {
        return 'redis cache get key ' . $key;
    }
}